<%@ Control Language="C#" AutoEventWireup="true" CodeFile="EditProjects.ascx.cs" Inherits="Admin_Controls_EditProjects" %>
<div class="contentHeader">Edit Projects</div>
<div class="contentInfo">
<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" BorderStyle="None" CellPadding="3" EmptyDataText="There are no projects" Width="100%">
	<Columns>
		<asp:HyperLinkField DataNavigateUrlFields="ProjectId" DataNavigateUrlFormatString="~/Admin/Default.aspx?deleteProject={0}"
			HeaderText="Delete" Text="Delete" />
		<asp:HyperLinkField DataNavigateUrlFields="ProjectId" DataNavigateUrlFormatString="~/Project.aspx?id={0}"
			DataTextField="Name" HeaderText="Name" />
		<asp:BoundField DataField="Description" HeaderText="Description" SortExpression="Description" />
		<asp:BoundField DataField="CreationDate" HeaderText="CreationDate" SortExpression="CreationDate" />
		<asp:BoundField DataField="StartDate" HeaderText="StartDate" SortExpression="StartDate" />
		<asp:BoundField DataField="CompletionDate" HeaderText="CompletionDate" SortExpression="CompletionDate" />
	</Columns>
	<AlternatingRowStyle BackColor="#EEEEEE" />
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="GetAllProjects"
	TypeName="ProjectsHelper" DataObjectTypeName="Systepic.Projects.Project" DeleteMethod="DeleteProject"></asp:ObjectDataSource>
</div>